export const modelConfig = {
  title: "操作图书",
  formItems: [
    {
      field: "id",
      type: "input",
      label: "id",
      placeholder: "请输入id",
      isHidden: false,
    },
    {
      field: "type",
      type: "input",
      label: "类型",
      placeholder: "请输入类型",
    },
    {
      field: "name",
      type: "input",
      label: "书名",
      placeholder: "请输入书名",
    },
    {
      field: "press",
      type: "input",
      label: "出版社",
      placeholder: "请输入出版社",
    },
    {
      field: "author",
      type: "input",
      label: "作者",
      placeholder: "请输入作者",
    },
    {
      field: "price",
      type: "input",
      label: "价格",
      placeholder: "请输入价格",
    },
    {
      field: "year",
      type: "input",
      label: "出版时间",
      placeholder: "请输入出版时间",
    },
    {
      field: "imgurl",
      type: "input",
      label: "图片",
      placeholder: "请输入图片",
    },
  ],
  colayout: {
    span: "24",
  },
  labelWidth: "100px",
  labelPosition: "right",
  itemStyle: {
    padding: "10px 5px",
  },
};
